
import os
from configparser import ConfigParser
from Common.handle_path import config_path


class HandleConfig(ConfigParser):
    def __init__(self, file_path):
        super().__init__()
        self.read(file_path, encoding="utf-8")


file_path = os.path.join(config_path, "tsd.ini")
print(file_path)
conf = HandleConfig(file_path)

if __name__ == '__main__':
    print(conf.get("db","mysql_user"))